import { lazy } from "react";
import Layout from 'pages/Layout'

export default [
    {
        path: "/",
        component: Layout,
        children: [
            {
                path: "/home",
                component: lazy(() => import('pages/Home'))
            },
            {
                path: '/records',
                component: lazy(() => import('pages/Records'))
            },
            {
                path: '/recordDetail',
                component: lazy(() => import('pages/RecordDetail'))
            }
        ],
    },
];